package com.gwt.implementation;

import com.game.interfacesForImplementer.Mouse;
import com.google.gwt.event.dom.client.MouseMoveEvent;
import com.google.gwt.event.dom.client.MouseMoveHandler;

public class MouseHandler implements MouseMoveHandler, Mouse{

	int x=0;
	int y=0;
	
	public void onMouseMove(MouseMoveEvent event) {
		x=event.getX();
		y=event.getY();
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

}
